package com.acc.service;

import java.util.List;

import com.acc.entity.Admin;
/**
 * 
 * @author 朱春阳
 *
 */
public interface AdminService {
 
	//获取所有的admin的数量
	public Integer getAllSize();
	
	//分页查询admin
	public List<Admin> getPageAdmin(Integer page, Integer rows);
	
	//通过admin_id删除admin
	public boolean deleteAdmin(Integer admin_id);
	
	//增加一个admin
	public boolean addAdmin(String roleName, String password);

}
